package models

import (
	"time"
)

type ForumsPrivatemessage struct {
	Id int64 `xorm:"oid"`

	Storeid              int       `json:"StoreId" xorm:"not null INTEGER"`
	Fromcustomerid       int       `json:"FromCustomerId" xorm:"not null INTEGER"`
	Tocustomerid         int       `json:"ToCustomerId" xorm:"not null INTEGER"`
	Subject              string    `json:"Subject" xorm:"not null VARCHAR(450)"`
	Text                 string    `json:"Text" xorm:"not null VARCHAR"`
	Isread               int       `json:"IsRead" xorm:"not null BIT(1)"`
	Isdeletedbyauthor    int       `json:"IsDeletedByAuthor" xorm:"not null BIT(1)"`
	Isdeletedbyrecipient int       `json:"IsDeletedByRecipient" xorm:"not null BIT(1)"`
	Createdonutc         time.Time `json:"CreatedOnUtc" xorm:"not null DATETIME"`
}
